<h1>Editing advice</h1>

<% form_for(@advice) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @advice %> |
<%= link_to 'Back', advices_path %>
